package org.example.exp2.exam8.classAdapter;

import org.example.exp2.utils.XMLUtil;

public class Client {
    public static void main(String[] args) {
        DataOperator dataOperator = (DataOperator) XMLUtil.getBean(
                "src/test/java/org/example/exp2/exam8/classAdapter/config.xml",
                "DataOperator");

        System.out.println(dataOperator.doEncrypt(123, "abc"));
    }
}